home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
MacWorld 1999 April
/
Macworld (1999-04).dmg
/
Serious Software
/
Katabounga demo
/
Katabounga
/
Katabounga US 2.08
/
Katabounga US 2.08.rsrc
/
TEXT_500_Variables prÈdÈfinies.txt
< prev
next >
Wrap
Text File
|
1998-12-16
|
2KB
|
85 lines
Booleans
Macintosh
Windows
WWW
When deciding upon which platform the scenario should be executed.
IF Macintosh
SoundStart Hello_world
ELSE
SoundStart Mistake
END
Button
When deciding if the mouse button is pressed or not.
IF Button
The button is presssed
ELSE
The button is released
END
Numerics
SceneWidth
SceneHeigth
Scenario width and height.
MouseH
MouseV
Actual coordinates based on the mouse in the scenario window.
MoveObject MySelf,MouseH-20,MouseV-20
DeltaH (_Delta_H in the Beta scenario before 2508)
DeltaV (_Delta_V in the Beta scenario before 2508)
These two coordinates (in pixels) are variables that can be read once the mouse have moved an object.
They are automatically opened by Katabounga if an object is moved WITH LIMITED OBJECT.
If no limited object is defined, these values are undefined (no values).
Random (Random in the Beta scenario beofre 2508)
This predefined varaible contains a random variable between 0 and 255.
ScreenTime (_ScreenTime in the Beta scenario before 2508)
SceneTime (_TimeScenario in the Beta scenario before 2508)
Back in time (in seconds) from the current screen or from the scenario.
The texts
ScreenName
Current screen name.
FolderName
The name of the sequence in which the script is located. This is if the script is in an object, which is in a screen within a sequence.
MyName
Name of the object upon which the script is located. Undefined if the script is elsewhere than on an object.
The objects
MySelf
Defines the object upon which the script is found. It refers to the object "My self".
This expression can be used each time the object containing the script command is specified.
SizeObject MySelf,100,100
.left
.top
.right
.bottom
These suffixes define the object's coordinates.
MoveObject Image,Image.left+10,Image.Top+20